package com.kaihong.template.ble.operation.model;

/**
 * The type Descriptor data.
 */
public class DescriptorData {
    // Bluetooth device ID
    private String deviceId;

    // The UUID of the service
    private String serviceId;

    // The UUID of the characteristic value of the Bluetooth device
    private String characteristicId;

    private String descriptorId;

    // The written binary data is constructed in hexadecimal string mode
    private String data;

    /**
     * 构造方法
     *
     * @param deviceId Bluetooth device ID
     * @param serviceId UUID of the service
     * @param characteristicId The UUID of the characteristic value of the Bluetooth device
     * @param descriptorId The UUID of the Bluetooth device descriptor
     * @param data The written binary data is constructed in hexadecimal string mode
     */
    public DescriptorData(String deviceId, String serviceId, String characteristicId, String descriptorId,
        String data) {
        this.deviceId = deviceId;
        this.serviceId = serviceId;
        this.characteristicId = characteristicId;
        this.descriptorId = descriptorId;
        this.data = data;
    }

    /**
     * Gets device id.
     *
     * @return the device id
     */
    public String getDeviceId() {
        return deviceId;
    }

    /**
     * Sets device id.
     *
     * @param deviceId the device id
     */
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * Gets service id.
     *
     * @return the service id
     */
    public String getServiceId() {
        return serviceId;
    }

    /**
     * Sets service id.
     *
     * @param serviceId the service id
     */
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    /**
     * Gets characteristic id.
     *
     * @return the characteristic id
     */
    public String getCharacteristicId() {
        return characteristicId;
    }

    /**
     * Sets characteristic id.
     *
     * @param characteristicId the characteristic id
     */
    public void setCharacteristicId(String characteristicId) {
        this.characteristicId = characteristicId;
    }

    /**
     * Gets descriptor id.
     *
     * @return the descriptor id
     */
    public String getDescriptorId() {
        return descriptorId;
    }

    /**
     * Sets descriptor id.
     *
     * @param descriptorId the descriptor id
     */
    public void setDescriptorId(String descriptorId) {
        this.descriptorId = descriptorId;
    }

    /**
     * Gets data.
     *
     * @return the data
     */
    public String getData() {
        return data;
    }

    /**
     * Sets data.
     *
     * @param data the data
     */
    public void setData(String data) {
        this.data = data;
    }
}
